home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1817 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  909 b 

  1. Subject: bios_chmode() error & patch
  2. Date: Thu, 4 Aug 94 11:36:20 +0100
  3. From: Torsten Scherer <itschere@techfak.uni-bielefeld.de>
  4.  
  5.  Oops,
  6.  
  7.  looks like in 1.10h6 up to 1.10h8 the owner of a tty isn't allowed to
  8. change its mode, so that tools like `mesg' no longer work. When did this
  9. get erroneously into the code?
  10.  
  11. ciao,
  12. TeSche
  13. -- 
  14. Torsten Scherer (TeSche, Schiller...), itschere@techfak.uni-bielefeld.de
  15. Faculty of Technology, University of Bielefeld, Germany, Europe, Earth...
  16. | Use any of "finger itschere@129.70.131.2-15" for adresses and more.|
  17. | Last updated: 31. July 1994|
  18.  
  19. --- biosfs.c.origThu Aug  4 11:27:50 1994
  20. +++ biosfs.cThu Aug  4 11:27:46 1994
  21. @@ -552,7 +552,7 @@
  22.  return 0;
  23.  }
  24.  } else if (!IS_FD_ENTRY(fc)) {
  25. -if (!curproc->euid && (curproc->euid == b->xattr.uid)) {
  26. +if (!curproc->euid || (curproc->euid == b->xattr.uid)) {
  27.  b->xattr.mode = (b->xattr.mode & S_IFMT) | mode;
  28.  return 0;
  29.  }
  30.  
  31.  
  32.